package com.knight.spring;

import com.knight.server.RPCServer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(basePackages = "com.knight")
public class SpringConfig {

    @Bean
    public RPCServer getRPCServer(){
        return new RPCServer();
    }
}
